package com.meji.camerademo;



import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.widget.FrameLayout;

public class CameraDemo extends Activity {
    /** Called when the activity is first created. */
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        
        setContentView(R.layout.main);
        CameraPreview camPreview=new CameraPreview(this);
        //setContentView(camPreview);
        
        ((FrameLayout) findViewById(R.id.camPreview)).addView(camPreview);
         
    }


}
